<clickhouse>
    <kafka>
        <auto_offset_reset>earliest</auto_offset_reset>
        <!-- Debugging of possible issues, like:
             - https://github.com/edenhill/librdkafka/issues/2077
             - https://github.com/edenhill/librdkafka/issues/1778
             - #5615

             XXX: for now this messages will appears in stderr.
        -->
        <debug>cgrp,consumer,topic,protocol</debug>

        <!-- librdkafka stat in system.kafka_consumers -->
        <!-- default 3000 (every three second) seems too long for test -->
        <statistics_interval_ms>600</statistics_interval_ms>

        <kafka_topic>
            <name>consumer_hang</name>
            <!-- default: 3000 -->
            <heartbeat_interval_ms>300</heartbeat_interval_ms>
            <!-- default: 10000 -->
            <session_timeout_ms>6000</session_timeout_ms>
        </kafka_topic>
    </kafka>

</clickhouse>
